package com.j2ee.spring.aop.xml.salary;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SalaryManagerTest {
	
	@Test
	public void testSalaryManager() {
		ApplicationContext context = 
				new ClassPathXmlApplicationContext("applicationContext.xml") ;
		SalaryManager salaryManager = (SalaryManager) context.getBean("salaryManager") ;
		salaryManager.showSalary() ;
	}

}
